package com.crm.entity;


import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Server entity. @author MyEclipse Persistence Tools
 */

public class Server implements java.io.Serializable {

	// Fields

	private Integer id;
	private Date fenptime;
	private String name;
	private Set serves = new HashSet(0);
	private Set servdeals = new HashSet(0);

	// Constructors

	/** default constructor */
	public Server() {
	}

	/** full constructor */
	public Server(Date fenptime, String name, Set serves, Set servdeals) {
		this.fenptime = fenptime;
		this.name = name;
		this.serves = serves;
		this.servdeals = servdeals;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getFenptime() {
		return this.fenptime;
	}

	public void setFenptime(Date fenptime) {
		this.fenptime = fenptime;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getServes() {
		return this.serves;
	}

	public void setServes(Set serves) {
		this.serves = serves;
	}

	public Set getServdeals() {
		return this.servdeals;
	}

	public void setServdeals(Set servdeals) {
		this.servdeals = servdeals;
	}

}